package cn.serenedream.sbbook;

import org.springframework.stereotype.Service;
import java.io.IOException;

@Service
public class OtherIsbnBookService implements BookService {
    @Override
    public Book getBookByIsbn(String isbn) throws IOException {
        Book book = new Book();
        book.setIsbn(isbn);
        book.setTitle("奇思妙想");
        book.setAuthorIntro("世界那么大，总要有些地方装载我们的各种奇思妙想");
        return book;
    }
}
